package com.mi.proxy2;

public class CustomerProxy implements Buyer {

	private Customer customer;
	
	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}


	@Override
	public void buy() {
		System.out.println("我是职业买手，我专门帮我的代理客户砍价，我很棒！");
		System.out.println(customer.getName() + "买了一台苹果手机，地址是" + customer.getAddr() + ",帮客户节省了200元");
	}

}
